package com.burgeon.backend.service;


import com.burgeon.backend.entity.Complement;
import com.burgeon.backend.entity.User;
import com.burgeon.backend.entity.VipAttrib;
import com.burgeon.backend.service.ex.ErrorDataException;

import java.util.ArrayList;

public interface ComplementService {

    void makeUserTags(String phone, VipAttrib vipAttrib,String cid,String token) throws ErrorDataException;

    ArrayList<String> getTagsItem(String code,String token);

    void delComplement(String id) throws ErrorDataException;

    void newComplementSwitch(Complement complement) throws ErrorDataException;

    ArrayList<Complement> getComplementSwitch(String phone,String account) throws ErrorDataException;

    ArrayList<Complement> getComplement(String account) throws ErrorDataException;

//*****************************************************************************

    void modVipData(String token, User user,String id) throws ErrorDataException;



}
